<?php
/**
 * @version      BOSSCMS-Free
 * @trademark    BOSSCMS
 * @copyright    Copyright © by BOSSCMS-Free (https://www.bosscms.net/) 保留所有权利
 * @license      https://gitee.com/Greenpeas/BOSSCMS/license/ 和 https://www.bosscms.net/freelicense/
 * @link         https://www.bosscms.net/
 * @author       温州软界网络技术有限公司
**/
defined('IS_OK') or exit('Access Forbidden');
?>
<?php load::into('head'); ?>
<section class="main home">
  <section class="mlr" advert hide>
    <div class="advert"></div>
  </section>

  <section class="mlr">
    <div class="mleft">
      <div class="shortcut">
        <h2><strong>快捷菜单</strong><a title="设置" name="快捷菜单" easy height="560" url="<?php echo url::mpf('home','shortcut','init'); ?>"><i class="fa fa-gear"></i></a></h2>
        <ul>
          <?php foreach($data['shortcut'] as $k=>$v){ ?>
          <li>
            <a href="<?php echo $v['url']; ?>">
              <u class="fa <?php echo $v['icon']; ?>"></u>
              <b><?php echo $v['name']; ?></b>
            </a>
          </li>
          <?php } ?>
        </ul>
      </div>
      <div class="more">
        <h2><strong>内容统计</strong></h2>
        <div class="m">
          <dl data="group">
            <dt>新闻内容</dt>
            <dd>
              <strong><a href="./#mpf=group/type,2" target="_blank"><span total="2">0</span></a></strong>
              <p><u>本月新增</u><b><span total="2m">0</span></b><u>标签</u><b><span total="2t">0</span></b></p>
            </dd>
          </dl>
          <dl data="group">
            <dt>产品内容</dt>
            <dd>
              <strong><a href="./#mpf=group/type,3" target="_blank"><span total="3">0</span></a></strong>
              <p><u>本月新增</u><b><span total="3m">0</span></b><u>标签</u><b><span total="3t">0</span></b></p>
            </dd>
          </dl>
          <dl data="group">
            <dt>图片内容</dt>
            <dd>
              <strong><a href="./#mpf=group/type,4" target="_blank"><span total="4">0</span></a></strong>
              <p><u>本月新增</u><b><span total="4m">0</span></b><u>标签</u><b><span total="4t">0</span></b></p>
            </dd>
          </dl>
          <dl data="group">
            <dt>下载内容</dt>
            <dd>
              <strong><a href="./#mpf=group/type,5" target="_blank"><span total="5">0</span></a></strong>
              <p><u>本月新增</u><b><span total="5m">0</span></b><u>标签</u><b><span total="5t">0</span></b></p>
            </dd>
          </dl>
          <dl data="group">
            <dt>友情链接</dt>
            <dd>
              <strong><a href="./#mpf=link" target="_blank"><span total="l">0</span></a></strong>
              <p><u>文本类型</u><b><span total="lt">0</span></b><u>图片</u><b><span total="li">0</span></b></p>
            </dd>
          </dl>
        </div>
      </div>
    </div>
    <div class="mright">
      <div class="server">
        <h2><strong>服务器信息</strong></h2>
        <ul>
          <li><b>操作系统：</b><?php echo php_uname('s').php_uname('r'); ?></li>
          <li><b>Web服务器：	</b><?php echo $_SERVER["SERVER_SOFTWARE"]; ?></li>
          <li><b>运行环境版本：</b>PHP<?php echo PHP_VERSION; ?> + MYSQL<?php $res = mysql::select('SELECT VERSION() AS ver'); echo $res[0]['ver']; ?></li>
          <li><b>允许上传大小：</b><?php echo $G['config']['upload_maxsize']; ?>MB</li>
          <li><b>服务器时间：</b><?php echo date('Y/m/d H:i:s',TIME); ?></li>
          <li><b>开发公司：</b>温州软界网络技术有限公司</li>
        </ul>
      </div>
    </div>
  </section>

  <section class="mlr">
    <div class="mleft">
      <div class="about">
        <h2><strong>关于系统</strong></h2>
        <div class="content">
          <img src="../system/admin/common/img/logo.png" />
          <h3>BOSSCMS-Free建站系统</h3>
          <b>【开源版<strong><?php echo $G['config']['version']; ?></strong>】</b>
          <p>
            BOSSCMS-Free是一款遵循Apache2.0协议发布的建站系统，100%开源商业使用。<br>            
            如果Free版不能满足您需求时，可以选择软界公司的商业版<a class="plus" href="https://www.bosscms.net/pricing/" target="_blank">BOSSCMS-Plus</a>来满足您的项目需求。<br>
            <a class="vip" href="https://www.bosscms.net/vip/" target="_blank">企业会员支持自定义OEM版权信息，不限建站数量，利于品牌宣传和服务自己的客户。</a><br>
            用心做开源，我们也很需要你的鼓励，Star等你点亮！
          </p>
          <u>
            <a href="https://gitee.com/Greenpeas/BOSSCMS" target="_blank"><i class="fa fa-git-square"></i>项目地址</a>
            <a href="https://www.bosscms.net/" target="_blank"><i class="fa fa-edge"></i>访问主页</a>
            <a href="https://www.bosscms.net/bbs/" target="_blank"><i class="fa fa-question-circle"></i>问题反馈</a>
            <a href="https://www.bosscms.net/docker/" target="_blank"><i class="fa fa-tags"></i>使用手册</a>
            <a href="https://www.bosscms.net/course/" target="_blank"><i class="fa fa-sitemap"></i>二开教程</a>
            <a href="https://gitee.com/Greenpeas/BOSSCMS" target="_blank"><i class="fa fa-star"></i>点亮Star</a>
          </u>
          <span class="qq"></span>
        </div>
      </div>
    </div>
    <div class="mright">
      <div class="donation">
        <h2><strong>捐赠支持</strong></h2>
        <div></div>
      </div>
    </div>
  </section>


  <?php if(into::load_class('admin','home','home','new')->cover('safe','R',true) && $G['path']['folder']=='admin' && TIME-$G['manager']['ltime']<5){ ?>
  <section class="caring admin_folder">
    <em class="fa fa-times"></em>
    <aside>
      <h2>为您站点安全考虑，</h2>
      <h3>请及时修改网站后台登录文件夹地址！</h3>
      <p>
        <span>前往安全设置修改：</span>
        <a class="button blue" target="iframe" href="<?php echo url::mpf('safe','safe','init'); ?>">
          <em class="fa fa fa-get-pocket"></em>
          <font>立即修改</font>
        </a>
      </p>
    </aside>
  </section>
  <?php } ?>
</section>
<?php load::into('foot'); ?>